package com.jy.rhin.model.body.shoushucaozuo;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/**
 * @Author 姚俊
 * @Date 2023/2/9 10:28
 * @Description 手术记录
 */
@Data
public class ShouShu {

    //手术操作
    @XPath(path = "/code"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_093_01))
    CodeObject shouShuCZ;
    //操作时间
    @XPath(path = "/effectiveTime/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_095_00))
    String caoZuoSJ;
    //操作名称
    @XPath(path = "/entryRelationship/observation/value/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_094_00))
    String caoZuoMC;
}
